package entity

import (
	"gluenet/internal/glue-srvp/domain/po"
	"gluenet/internal/pkg/infra"
)

type Area struct {
	infra.Entity `xorm:"-"`
	po.Area      `xorm:"extends"`
	Tags         []*po.Tag `xorm:"-"`
}

func (r Area) Identity() string {
	return r.AreaID
}

func (r Area) TableName() string {
	return "manager_area"
}
